#ifndef _TRICK
#define _TRICK

#include "ofMain.h"
#include "ofCvMain.h"
#include "videoBlobDetector.h"
#include "videoHandDetector.h"

class trick {
	
	public:
		
		trick() {	width = 0; height = 0; sprintf(name,"(no name)"); bUseBetterHandMasking = true; minBlobSize = 200; maxBlobSize = (320*240); bDrawDiagnostically = false; }
		virtual void setup(){};
		virtual void update(){};
		virtual void draw(){};
		
		virtual void reset(){};
		
		virtual void keyPressed(int key){};
		virtual void keyReleased(int key){};
		
		char trickName[255];
		
		videoBlobDetector	* vbd;
		videoHandDetector   * vhd;
		ofCvColorImage		* video;	// the video image
										// please change this 
										// to a class / etc
		
		int 				minBlobSize;
		int 				maxBlobSize;
		
		
		bool 				bUseBetterHandMasking;		// eye require simple masking
		int width;
		int height;
		char name[255];
		
		bool 				bDrawDiagnostically;
};

#endif	


